package ooday02;

import org.omg.CosNaming.NamingContextExtPackage.StringNameHelper;

public class test {
    String name;
    int age;

    void eat(String name){
        System.out.println("1");

    }
}
class testd extends test{
    void eat(String name,int age){
//        super.eat(super.name);
        System.out.println("2");
    }

}
class teste extends testd{
    void eat(String name,int age){
        super.eat(super.name);
        System.out.println(super.name+"3");
    }
}